package com.ithinkstudio.jeez.dao;

import com.ithinkstudio.jeez.entity.User;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * 用户DAO层
 * mybatis接口
 * @author felix
 */
@Mapper
public interface IUserMapper extends BaseMapper<User> {

    /**
     * 根据ID查询用户
     * @param id
     * @return
     */
    //User selectById(@Param("id") Integer id);

    /**
     * 新增用户
     * @param user
     */
    //void insert(User user);

    /**
     * 更新用户
     * @param user
     */
    //void updateById(User user);

    /**
     * 删除用户
     * @param id
     */
    //void deleteById(@Param("id") Integer id);
}
